package com.hsmw.api.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hsmw.api.vo.DriverRegisterPageVO;
import com.hsmw.domain.vo.DriverUserVO;
import com.hsmw.common.base.BaseMapper;
import com.hsmw.domain.HsmwDriverUser;
import com.hsmw.domain.vo.DriverDetailVO;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author wd
 * @since 2021-10-26
 */
public interface HsmwDriverUserMapper extends BaseMapper<HsmwDriverUser> {

    IPage<DriverRegisterPageVO> getDriverRegisterPage(IPage page, String username, Boolean isDriver);


    List<DriverDetailVO> findDriverInfo(HashMap param);

    DriverUserVO findDriverUserById(String userId);

    List<HsmwDriverUser> selectAvalableUser(HashMap param);
}
